package com.example.fenye.service.forum;

import java.util.List;

import com.example.fenye.entity.forum.Topic;

public interface TopicService {
	Long addTopic(Topic topic);
	int getTopicsCount();
	
	List<Topic> getTopicWrapper(int startPos, int pageSize);
	
	/**
	 * 根据id获取topic
	 * @param topicid
	 * @return
	 */
	Topic getTopicById(Long topicid);
}
